# -*- coding: utf-8 -*-
import pytest
import yaml

@pytest.fixture()
def login():
    print('setup')
    token = 111
    yield token
    print('teardown')

def test_anse(login):
    print(f'{login}')
    assert 1 == 1


@pytest.mark.parametrize("a,b", yaml.safe_load(open('datas.yml')))
def test_foo(a, b):
    print(f"a+b={a + b}")


